#test.py
import random
from gen import test_data
from alg import allPathsSourceTarget

for i in test_data:
    graph = []
    for j in range(i):
        graph.append([random.randint(0, i-1) for k in range(random.randint(0, i-1))])
    print(graph)
    print(allPathsSourceTarget(graph))
    print()
    